//
//  AppDelegate.swift
//  SunxianhuaTestApp
//
//  Created by abc on 2021/10/11.
//

import UIKit

@main
class AppDelegate: UIResponder, UIApplicationDelegate {

    var window: UIWindow?
    func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
        // Override point for customization after application launch.
        
        let root : UIViewController = BaseTabBarViewController.init()
        window = UIWindow.init(frame: UIScreen.main.bounds)
        window?.backgroundColor = .white
        window?.rootViewController = root
        window?.makeKeyAndVisible()
        if #available(iOS 13.0, *) {
            window?.overrideUserInterfaceStyle = .light
        } else {
            
        }

//        iDRCSDK.setup(with: TCP, needIdrc: true, needEncrypt: Config.isEncrypt)
        
//        IQKeyboardManager.shared.shouldResignOnTouchOutside = true
//        IQKeyboardManager.shared.enable = true
        
        return true
        
    }

}

